package org.tuoren.official.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.tuoren.common.core.validate.AddGroup;
import org.tuoren.common.core.validate.EditGroup;
import org.tuoren.common.mybatis.core.domain.BaseEntity;
import org.tuoren.official.domain.TServiceCenterDetail;

/**
 * 服务中心详情业务对象 t_service_center_detail
 *
 * @author Lion Li
 * @since 2024-11-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TServiceCenterDetail.class, reverseConvertGenerate = false)
public class TServiceCenterDetailBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 服务类型 （0：国内，1：国际）
     */
    @NotBlank(message = "服务类型 （0：国内，1：国际）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String areaType;

    /**
     * 地区编码
     */
    @NotBlank(message = "地区编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String areaCode;

    /**
     * 地区显示名称
     */
    @NotBlank(message = "地区显示名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String areaDesc;

    /**
     * 负责人职位
     */
   // @NotBlank(message = "负责人职位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String workRank;

    /**
     * 负责人姓名
     */
    @NotBlank(message = "负责人姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contactName;

    /**
     * 负责人联系方式
     */
    @NotBlank(message = "负责人联系方式不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone;

    /**
     * 联系地址
     */
    private String workAddress;
}
